﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Travel.Data.Inputs
{
    public class UpdatePwdInput : BaseInput
    {
        public long UserId { get; set; }
        /// <summary>
        /// 旧密码
        /// </summary>
        [Required]
        public string OldPwd { get; set; }
        /// <summary>
        /// 新密码
        /// </summary>
        [Required]
        public string NewPwd { get; set; }
        /// <summary>
        /// 确认密码
        /// </summary>
        [Required]
        public string CofirmNewPwd { get; set; }
    }
}
